#!/usr/bin/python
# vi: et sw=2
#
# Author: Harry Karvonen <harry.karvonen@gmail.com>
#

from lib_pulseaudio import *

class PulseClient:
  def __init__(self, pa_client):
    self.index           = pa_client.index
    self.name            = pa_client.name
    self.owner_module    = pa_client.owner_module
    self.driver          = pa_client.driver
    #self.proplist        = pa_sink_input_info.proplist

    return

  def printDebug(self):
    print "PulseClient"
    print "self.index:", self.index
    print "self.name:", self.name
    print "self.owner_module:", self.owner_module
    print "self.driver:", self.driver
    #print "self.proplist:", self.proplist

  def __str__(self):
    return "Client-ID: " + str(self.index) + ", Name: \"" + self.name + "\""
